Fix cornercase for string syntax.
authorFabián Ezequiel Gallina <fabian@anue.biz>
Wed, 3 Oct 2012 21:53:09 +0000 (18:53 -0300)
committerFabián Ezequiel Gallina <fabian@anue.biz>
Wed, 3 Oct 2012 21:53:09 +0000 (18:53 -0300)
commit0f614545ed7fccf8c4e9e412180e3f8ae8b3aa6d
treeb860aac52ab2a3e7264e13269d44051df424ca38
parent4b5a9a3461dbc77d098f2b72815e98c5db31d024
Fix cornercase for string syntax.
* progmodes/python.el (python-syntax-propertize-function):
Simplify and enhance the regexp for unescaped quotes.  Now it also
matches quotes in weird situations like the single quote in
"something\"'".
(python-syntax-stringify): Simplify num-quotes detecting code.
lisp/ChangeLog
lisp/progmodes/python.el